'use strict';

module.exports = createLogger(require('npmlog'));



function createLogger(log) {

    log.level = process.env.LOG_LEVEL ?? 'info';
    log.heading = ' ATRI ';
    log.addLevel('success', 2000, { fg: 'green', bold: true });

    const logger = log;
    return log;
}

